<?php 
  require_once('../head/nav.php');
  $coid = $result['coid'];
  $coproject = $result['coproject'];
  $phone = $result['phone'];
  $cointro = $result['cointro'];
?>
<h1 class="text-center">社团活动编辑</h1>
    <div class="col-sm-9 col-md-10">
      <form method="post" action="Admin.php?c=Co&m=coupdate&id=<?php  echo $coid;  ?>" enctype="multipart/form-data" class="form-horizontal">
        <input type="hidden" name="coid" value="<?php echo $coid;?>">
        <div class="form-group">
            <label for="coproject" class="col-md-2 col-xs-3 control-label">合作项目</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="coproject" placeholder="活动名称" name="coproject" value="<?php echo $coproject;//echo &row['coproject'] ?>">
            </div>
        </div>
        <div class="form-group">
            <label for="phone" class="col-md-2 col-xs-3 control-label">联系方式</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="phone" placeholder="联系方式" name="phone" value="<?php echo $phone;//echo &row['phone'] ?>">
            </div>
        </div>
        <div class="form-group">
            <label for="cointro" class="col-md-2 col-xs-3 control-label">合作简介</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="cointro" placeholder="合作简介" name="cointro" value="<?php echo $cointro;//echo &row['cointro'] ?>">
            </div>
        </div>
        <div class="form-group">
              <label class="col-xs-3 col-md-2"></label>
              <div class="col-xs-9 col-md-10 col-md-offset-2 col-xs-offset-3">
                 <input class="btn btn-success" type="submit" value="重置" >
                 <input class="btn btn-danger" name="reset" value="取消" >
              </div>
        </div>
      </form>
    </div>

<?php 
  require_once('../head/footer.php'); 
?>
